Core Java - Interview Questions and Answers for 'Basic interview question' | Search Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers - Order By Newest

   
 Q31. What is the difference between a break statement and a continue statement?Core Java
Ans. Break statement results in the termination of the statement to which it applies (switch, for, do, or while). A continue statement is used to end the current loop iteration and return control to the loop statement.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   break   continue   loop   for loop  control statements  loop statement   while loop  control statements  loop statement   break   continue   difference between   basic interview question      basic        frequent


Related Questions

  Difference between == and .equals() ?
  Explain the scenerios to choose between String , StringBuilder and StringBuffer ?

or

What is the difference between String , StringBuilder and StringBuffer ?
  What are the difference between composition and inheritance in Java?
  What is the difference between final, finally and finalize() ?
  What is the difference between Encapsulation and Abstraction?
 What is the difference between declaration, instantiation and initialization ?
  What is the difference between ArrayList and LinkedList ?
 If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?
  Difference between final and effectively final ? Why is effectively final even required ?
  Difference between Overloading and Overriding ?


 Q32. What is an enumeration?Core Java
Ans. An enumeration is an interface containing methods for accessing the underlying data structure from which the enumeration is obtained. It allows sequential access to all the elements stored in the collection.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   enum   enumeration interface   basic interview question

Try 2 Question(s) Test


Related Questions

  What are concepts introduced with Java 5 ?
  Enums cannot be declared ..
  If I try to add Enum constants to a TreeSet, What sorting order will it use ?
  Can we override compareTo method for Enumerations ?
  enums are intrinsically ..
  When were Enums introduced in Java ?
  What is an Enum type ?
  Can we extend an Enum ?
  Shall we keep the enumeration name in all capital letters as it contains all constants ?


 Q33. Difference between PATH and CLASSPATH ?Operating System
Ans. PATH is the variable that holds the directories for the OS to look for executables. CLASSPATH is the variable that holds the directories for JVM to look for .class files ( Byte Code ).

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   path   classpath   byte code   jvm   basic interview question     Asked in 3 Companies      intermediate        rare


Related Questions

  How to display and set the Class path in Unix ?
  How to access a Web Element if there are many elements with the same XPath ?
 Why do we need to specify import statement ? Don't you think Java could have been designed in such a way to automatically import everything that's in the class path ?
 How to track immediate parent of the child in selenium using xpath?
  What environment variables do I need to set on my machine in order to be able to run Java programs?
  Which of the following is a canonical path ?
 Difference between Class Path and Build Path ?
  What is classpath in a project?
 What is a classpath in Java ?
 In this url

http://javasearch.buggybread.com/InterviewQuestions/questionSearch.php?searchOption=label&keyword=url

What is protocol , domain , path and query param ?


previous 30   

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: